Drachenfrucht1 / godotcord

A Discord Game SDK integration for Godot
https://drachenfrucht1.github.io/godotcord
MIT License
53 stars 5 forks source link

Make error message more verbose to help solve #18 #49

Closed jordi-star closed 3 years ago

jordi-star commented 3 years ago

Error result != OK now also prints what the error was

jordi-star commented 3 years ago

Squashed

Drachenfrucht1 commented 3 years ago

I would not like to add specific debug lines into the master branch build just for debugging one issue. This should be done locally or with a debugger. However, we can think about changing all of these ERR_FAIL_COND to ERR_FAIL_COND_MSG and print the returned error code.