Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Report when flake8 crashes! #414

Merged
merged 1 commit into from
Apr 25, 2017
Merged

Conversation

Arcanemagus
Copy link
Member

@Arcanemagus Arcanemagus commented Apr 25, 2017

When flake8 crashes for some reason this was being transparently hidden from the user. Instead show the most recent call to the user, with the full Python stack trace being printed to the console.

Example:
image

image

(Thanks to the current bug breaking flake8-docstrings for this simple reproduction case!)

The current behavior of hiding the error was introduced in #167 and unfortunately I didn't think of what the full rammifications were there and blindly trusted the report of:

flake8 executable is erroring on lint errors which causes atom to throw the following error.

Error: 1

Which in hindsight sounds ridiculous and was likely a result of a system configuration issue from that user (who has since deleted their account).

When flake8 crashes for some reason this was being transparently hidden
from the user. Instead show the most recent call to the user, with the
full Python stack trace being printed to the console.
@Arcanemagus Arcanemagus merged commit 8bdc062 into master Apr 25, 2017
@Arcanemagus Arcanemagus deleted the arcanemagus/report-errors branch April 25, 2017 23:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant