neo: Explain how arguments of a MClasType are named.
[nit.git] / lib / github_api.nit
index d1a66e6..2394592 100644 (file)
@@ -56,7 +56,7 @@ class GithubCurl
                        var obj = response.body_str.json_to_nit_object
                        if obj isa HashMap[String, nullable Object] then
                                if obj.keys.has("message") then
-                                       print "Message from Github API: {obj["message"]}"
+                                       print "Message from Github API: {obj["message"] or else ""}"
                                        print "Requested URI: {uri}"
                                        abort
                                end