[TASK] Remove console.log statement
[FIX] Print errors to console