Cleaning up error handler
Expanding error details
Adding function to site class to detect Linux distribution