Using logLevel param instead of undefined 'error' variable.
Attach a file by drag & drop or click to upload