adding console logs to trace errors
Merge pull request #19 from stefceror/fix/corsround2

adding console logs to trace errors