{"action":"opened","issue":{"url":"https://api.github.com/repos/mopidy/mopidy/issues/1006","labels_url":"https://api.github.com/repos/mopidy/mopidy/issues/1006/labels{/name}","comments_url":"https://api.github.com/repos/mopidy/mopidy/issues/1006/comments","events_url":"https://api.github.com/repos/mopidy/mopidy/issues/1006/events","html_url":"https://github.com/mopidy/mopidy/issues/1006","id":58972424,"number":1006,"title":"Propagate python warnings to WS?","user":{"login":"adamcik","id":82534,"avatar_url":"https://avatars.githubusercontent.com/u/82534?v=3","gravatar_id":"","url":"https://api.github.com/users/adamcik","html_url":"https://github.com/adamcik","followers_url":"https://api.github.com/users/adamcik/followers","following_url":"https://api.github.com/users/adamcik/following{/other_user}","gists_url":"https://api.github.com/users/adamcik/gists{/gist_id}","starred_url":"https://api.github.com/users/adamcik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamcik/subscriptions","organizations_url":"https://api.github.com/users/adamcik/orgs","repos_url":"https://api.github.com/users/adamcik/repos","events_url":"https://api.github.com/users/adamcik/events{/privacy}","received_events_url":"https://api.github.com/users/adamcik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-25T21:25:22Z","updated_at":"2015-02-25T21:25:22Z","closed_at":null,"body":"With capture warnings enabled all messages from the `warnings` module end up in the logger `py.warnings`. I'm imagining using a context manager around the commands triggered by a JSON-RPC call which adds a temporary handler for `py.warnings` and sends it over the WS. Not sure if this is even doable, or needed, so fell free to just close."}}