Added custom errors for debugging on azure