[IMP] manual exception handling for non-json controllers