Removed debug message. Error gets now caught properly on app level.