Index: /applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/api/NewAction.java
===================================================================
--- /applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/api/NewAction.java	(revision 11583)
+++ /applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/api/NewAction.java	(revision 11584)
@@ -64,6 +64,6 @@
 		}
 		
-		if(!"ok".equalsIgnoreCase(result)) {
-			throw new RuntimeException("Couldn't create new bug");
+		if(result != null && !result.startsWith("ok")) {
+			throw new RuntimeException("Couldn't create new bug. Result: " + result);
 		}
 		
