Skip to content

Commit

Permalink
error log
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolatoscan committed Oct 6, 2020
1 parent 98b7673 commit 5a4a45a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class Bot {
ctx.reply("Inizio download")
exec(`wget -P ${process.env.PATH_TO_DOWNLOAD} ${url}`, (err, stdout, stderr) => {
if (err) {
console.log(err);
ctx.reply("Errore")
return;
}
Expand Down

0 comments on commit 5a4a45a

Please sign in to comment.