Commit 569fe232 by Erik Sundell

stackdriver: remove debug log

parent fa1d2257
...@@ -202,9 +202,7 @@ export default class StackdriverDatasource { ...@@ -202,9 +202,7 @@ export default class StackdriverDatasource {
message += error.statusText ? error.statusText + ': ' : ''; message += error.statusText ? error.statusText + ': ' : '';
if (error.data && error.data.error) { if (error.data && error.data.error) {
try { try {
console.log(error.data.error);
const res = JSON.parse(error.data.error); const res = JSON.parse(error.data.error);
console.log(res);
message += res.error.code + '. ' + res.error.message; message += res.error.code + '. ' + res.error.message;
} catch (err) { } catch (err) {
message += error.data.error; message += error.data.error;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment