Fixed broken error handling in presenter_framework