handle resize error better

This commit is contained in:
Guillermo Rauch 2016-06-30 23:25:19 -07:00
parent e43efd8fa2
commit 384494d4a7

View file

@ -82,7 +82,7 @@ module.exports = class Session extends EventEmitter {
try { try {
this.pty.stdout.resize({ columns, rows }); this.pty.stdout.resize({ columns, rows });
} catch (err) { } catch (err) {
console.log(err.message); console.error(err.stack);
} }
} }