Added so that the user gets info on the error callback
Added so that the user gets info on the error callback

oskareriksson/webapplicationdevelopment-final,oskareriksson/webapplicationdevelopment-final