You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: Cannot read property 'id' of null
File "/app/build/handlers/askingArticleSubmissionReason.js", line 46, in <unknown>
const articleUrl = (0, _utils.getArticleURL)(CreateArticle.id);
File "<anonymous>", line unknown, in Generator.next
File "/app/build/handlers/askingArticleSubmissionReason.js", line 19, in step
function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, arguments); return new Promise(function (resolve, reject) { function step(key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { return Promise.resolve(value).then(function (value) { step("next", value); }, function (err) { step("throw", err); }); } } return step("next"); }); }; }
File "/app/build/handlers/askingArticleSubmissionReason.js", line 19, in <unknown>
function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, arguments); return new Promise(function (resolve, reject) { function step(key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { return Promise.resolve(value).then(function (value) { step("next", value); }, function (err) { step("throw", err); }); } } return step("next"); }); }; }
File "internal/process/next_tick.js", line 68, in process._tickCallback
The text was updated successfully, but these errors were encountered:
MrOrz
changed the title
TypeError: Cannot read property 'id' of null
Should handle the case when CreateArticle request fails
Aug 1, 2019
View details in Rollbar: https://rollbar.com/mrorz/rumors-line-bot/items/153/
The text was updated successfully, but these errors were encountered: