NickCraver / StackExchange.Exceptional

Error handler used for the Stack Exchange network
https://nickcraver.com/StackExchange.Exceptional/
Apache License 2.0
860 stars 170 forks source link

Add check for HasFormContentType to fix DeleteAll #105

Closed zbecknell closed 6 years ago

zbecknell commented 6 years ago

DeleteAll would fail due to missing form content type. Checking HttpRequest.HasFormContentType before attempting to pull the guid from the form fixed the failure.

NickCraver commented 6 years ago

Another good fix, thank you!