Correct a bug if status is configured without localStorage, add a specific ErrorDocument for code 500