Should use both AppDomain.UnhandledException and Application.DispatcherUnhandledException?

AppDomain.CurrentDomain.UnhandledException in theory catches all exceptions on all threads of the appdomain. I found this to be very unreliable, though. Application.Current.DispatcherUnhandledException catches all exceptions on the UI thread. This seems to work reliably, and will replace the AppDomain.CurrentDomain.UnhandledException handler on the UI thread (takes priority). Use e.Handled = true to keep the application running. For … Read more

Unexpected token < in first line of HTML

Your page references a Javascript file at /Client/public/core.js. This file probably can’t be found, producing either the website’s frontpage or an HTML error page instead. This is a pretty common issue for eg. websites running on an Apache server where paths are redirected by default to index.php. If that’s the case, make sure you replace … Read more

Ideal way to set global uncaught exception Handler in Android

That should be all you need to do. (Make sure you cause the process to halt afterward — things could be in an uncertain state.) The first thing to check is whether the Android handler is still getting called. It’s possible that your version is being called but failing fatally and the system_server is showing … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)