Skip to content

Commit

Permalink
fix(application): Remove Derpy hooves from critical errors.
Browse files Browse the repository at this point in the history
Removal declutters logs and makes it easier to parse errors for debugging purposes.

fixes #329
  • Loading branch information
AccaliaDeElementia committed Jun 12, 2016
1 parent 83c1cf9 commit ad46404
Showing 1 changed file with 1 addition and 26 deletions.
27 changes: 1 addition & 26 deletions lib/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,32 +140,7 @@ exports.ponyError = function ponyError(prefix, err) {
if (err.stack) {
debug(err.stack);
}
const pony = [' __ __----__',
' / \\__..--\'\' _-__\'\'-_',
' ( / \\ `-.\'\'\'\'`',
' | | `-..__ ., `.',
' ___ ( \'. \\ ____`\\ )`-_ `.',
' ___ ( `. \'\\ __/ __\\\' /-``-.._ \\',
' ( `-. `. `. .|\\_ ( / .-| |W)| ``\'',
' `-. `-.`. `. |\' ( ,\'\\ ( (WW| \\` j',
' ..---\'\'\'\'\'-`. `.\\ _\\ .| \', \\_\\_`/ ``-.',
' ,\' _`-, ` ( | |\' `. \\__/',
' / _ ( ``` __ \\ \\ | ._:7,______.-\'',
' | .-\'/ `-._ ( `.\\ \'\': \\ /',
' \'` / .-\'\'>`-. `-. ` | | (',
' - / / `_: `_:. `. . \\ \\',
' | | | o()( ( \\ )\\ ; |',
' .\' `. | Oo `---:.__-\'\') / )/ |',
' | | | ()o |/ \' |',
' .\' |/ \\ o / \\__/',
' | , .| | /-,_______\\ \\',
' / / ) |\' _/ / | |\\ \\',
' .:.-\' .\' )/ / | | `--, \\',
' / . / | | | | / )',
' .__.\' , :|/_/| | | | ( |',
' `-.___.-`; / \' | | | | \\ |',
' .:_-\' | \\ | \\ `.___/',
' \\_______) \\_______)',
const pony = [
`A-derp! ${prefix}: ${err.message || err}`
];
exports.error(pony.join('\n'));
Expand Down

0 comments on commit ad46404

Please sign in to comment.