{"action":"opened","issue":{"url":"https://api.github.com/repos/ianhinder/Kranc/issues/116","labels_url":"https://api.github.com/repos/ianhinder/Kranc/issues/116/labels{/name}","comments_url":"https://api.github.com/repos/ianhinder/Kranc/issues/116/comments","events_url":"https://api.github.com/repos/ianhinder/Kranc/issues/116/events","html_url":"https://github.com/ianhinder/Kranc/issues/116","id":55277343,"number":116,"title":"Abort on messages","user":{"login":"ianhinder","id":213274,"avatar_url":"https://avatars.githubusercontent.com/u/213274?v=3","gravatar_id":"","url":"https://api.github.com/users/ianhinder","html_url":"https://github.com/ianhinder","followers_url":"https://api.github.com/users/ianhinder/followers","following_url":"https://api.github.com/users/ianhinder/following{/other_user}","gists_url":"https://api.github.com/users/ianhinder/gists{/gist_id}","starred_url":"https://api.github.com/users/ianhinder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianhinder/subscriptions","organizations_url":"https://api.github.com/users/ianhinder/orgs","repos_url":"https://api.github.com/users/ianhinder/repos","events_url":"https://api.github.com/users/ianhinder/events{/privacy}","received_events_url":"https://api.github.com/users/ianhinder/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-23T12:40:10Z","updated_at":"2015-01-23T12:40:10Z","closed_at":null,"body":"When Mathematica detects a problem, for example bad input to a function, it generates a message and returns the input unevaluated.  This usually leads to a cascade of errors and is unhelpful in a system such as Kranc.  Instead, Kranc should cause these messages to become fatal errors which cause Kranc to abort.  This is possible using AddHandler (http://mathematica.stackexchange.com/questions/1512/how-to-abort-on-any-message-generated/9242#9242) and is used in SimulationTools and the Kranc test system already.\r\n\r\nOne problem with aborting on all messages is that new versions of Mathematica sometimes deprecate functions and output a message when they are used.  We should not abort on these messages."}}