{"action":"opened","issue":{"url":"https://api.github.com/repos/micropython/micropython/issues/1204","labels_url":"https://api.github.com/repos/micropython/micropython/issues/1204/labels{/name}","comments_url":"https://api.github.com/repos/micropython/micropython/issues/1204/comments","events_url":"https://api.github.com/repos/micropython/micropython/issues/1204/events","html_url":"https://github.com/micropython/micropython/issues/1204","id":71489296,"number":1204,"title":"If an error occurs while interrupts are disabled, no report shows on the REPL","user":{"login":"dhylands","id":127500,"avatar_url":"https://avatars.githubusercontent.com/u/127500?v=3","gravatar_id":"","url":"https://api.github.com/users/dhylands","html_url":"https://github.com/dhylands","followers_url":"https://api.github.com/users/dhylands/followers","following_url":"https://api.github.com/users/dhylands/following{/other_user}","gists_url":"https://api.github.com/users/dhylands/gists{/gist_id}","starred_url":"https://api.github.com/users/dhylands/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhylands/subscriptions","organizations_url":"https://api.github.com/users/dhylands/orgs","repos_url":"https://api.github.com/users/dhylands/repos","events_url":"https://api.github.com/users/dhylands/events{/privacy}","received_events_url":"https://api.github.com/users/dhylands/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-28T06:01:42Z","updated_at":"2015-04-28T06:01:42Z","closed_at":null,"body":"If you call pyb.disable_irq() and then encounter a syntax error, you don't get to see on the USB repl.\r\n\r\nIf you hook a UART and call pyb.repl_uart then you will see the error on the uart REPL, and if you type pyb.enable_irq() on the UART repl, then the error output will show up on the USB repl.\r\n\r\nIf we get back to the repl and interrupts are disabled, perhaps we should re-enable them? Just so that the error can be reported?"}}