ElkArte Community

Elk Development => Bug Reports => Topic started by: Joshua Dickerson on December 30, 2015, 08:33:48 pm

Title: "An unforeseen error occurred, please reload the page and try again"
Post by: Joshua Dickerson on December 30, 2015, 08:33:48 pm
WTF kind of cryptic message is this? No fudge nuggets the error was unforeseen or it probably wouldn't be an error (I'd hope you wouldn't expect an error). Nothing is broken, it's just my Elkarte2 repo that I broke but the error message doesn't help at all.
Title: Re: "An unforeseen error occurred, please reload the page and try again"
Post by: Spuds on December 30, 2015, 09:16:30 pm
Yeah, at least make it "get your paws off me, you damn dirty ape"
Title: Re: "An unforeseen error occurred, please reload the page and try again"
Post by: Joshua Dickerson on December 30, 2015, 09:55:27 pm
Related note: I hate the autoloader. I am changing it to a PSR-4 compliant version so I don't have to add edge cases every time I want to add a new directory.
Title: Re: "An unforeseen error occurred, please reload the page and try again"
Post by: Spuds on December 31, 2015, 10:08:08 am
I thought that was more to do with our somewhat inconsistent file naming, but if you can de if/else that cool.
Title: Re: "An unforeseen error occurred, please reload the page and try again"
Post by: emanuele on March 23, 2016, 07:15:12 pm
Actually, when using try/catch you expect an error... or you even throw it! :P