Fixing missing exception name. Without it, no exception is printed to the console in debug mode and no stack trace persists, which makes it very hard to debug.

This commit is contained in:
James Sullivan
2011-10-27 21:57:19 -03:00
parent cb694c3e77
commit 8282bdb644

View File

@@ -124,7 +124,7 @@
return path;
}
[NSException raise:nil format:@"Unable to find a routable path for object of type '%@' for HTTP Method '%@'", className, methodName];
[NSException raise:@"Unable to find a routable path for object" format:@"Unable to find a routable path for object of type '%@' for HTTP Method '%@'", className, methodName];
return nil;
}