That thing that definitely happened might have happened maybe?
-
Ya think? Yes, that is a 'topic closed' post I ringed a word of
-
Well, it's still better than
Error: Something went wrong
. Still light years away from proper error handling, but hey...
-
Why do we have
if (error) return "some hardcoded error message"
instead ofif (error) return error
? That's like the first thing you learn about errors. Either handle the error right there or pass it along.
-
because the client-side error handling in Discourse is garbage, that's why.
-
because the client-side error handling in Discourse is garbage
I hear Discourse accepts pull requests.
-
-
because the client-side error handling in Discourse is garbage, that's why.
As opposed to everything else in Discourse, which is diarrhea.
-
Since you're obviously not here to help, get the fuck out of my topic.