{"action":"opened","issue":{"url":"https://api.github.com/repos/tylercd100/lern/issues/40","repository_url":"https://api.github.com/repos/tylercd100/lern","labels_url":"https://api.github.com/repos/tylercd100/lern/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/tylercd100/lern/issues/40/comments","events_url":"https://api.github.com/repos/tylercd100/lern/issues/40/events","html_url":"https://github.com/tylercd100/lern/issues/40","id":174482758,"number":40,"title":"Formatting message","user":{"login":"loranger","id":6014,"avatar_url":"https://avatars.githubusercontent.com/u/6014?v=3","gravatar_id":"","url":"https://api.github.com/users/loranger","html_url":"https://github.com/loranger","followers_url":"https://api.github.com/users/loranger/followers","following_url":"https://api.github.com/users/loranger/following{/other_user}","gists_url":"https://api.github.com/users/loranger/gists{/gist_id}","starred_url":"https://api.github.com/users/loranger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loranger/subscriptions","organizations_url":"https://api.github.com/users/loranger/orgs","repos_url":"https://api.github.com/users/loranger/repos","events_url":"https://api.github.com/users/loranger/events{/privacy}","received_events_url":"https://api.github.com/users/loranger/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-01T09:55:32Z","updated_at":"2016-09-01T09:55:32Z","closed_at":null,"body":"Hello (and thank you for this useful package)\r\n\r\nI'd like to format a bit my error message.\r\n\r\nI was wondering where I was supposed to write down my `LERN::setMessage` closure, so I put it in my `Exceptions/Handler.php` file, inside my `report` method:\r\n```php\r\nif (app()->bound(\"lern\")) {\r\n                app()->make(\"lern\")->setMessage(function ($exception) {\r\n...\r\n```\r\n\r\nAm I doing right ?\r\n\r\nI'm also trying to format my exceptions notification message and that's the aim of this issue.\r\nI mainly use slack and I'm trying to beautify a bit the messages.\r\nI tried to create new lin and add some bold such as\r\n```php\r\n$msg .= \"*URL*: {$method}@<{$url}>\\r\\n\" . PHP_EOL;\r\n```\r\n\r\nBut i doesn't work.\r\n\r\n[It seems](https://api.slack.com/docs/message-formatting) a config flag `mrkdwn` have to be set to `true` but I can't figure out how and where I can do it.\r\n\r\nCould you help, please ?"}}
{"actor":{"display_login":"loranger"}}