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 set property message of which has only a getter
The rethrow seems to be trying to set a property for which there is no setter. This is a bit frustrating because the trace of the new TypeError does not contain the original error, which makes debugging a lot harder.
The text was updated successfully, but these errors were encountered:
chharvey
added a commit
to chharvey/pug
that referenced
this issue
Apr 1, 2018
this attempts to bypass pugjs#2995 (a continuation of pugjs/pug-runtime#35)
note that this does not fix the bug. if setting `err.message` throws an error, the reason for that should be found and corrected.
Continuing the discussion from pugjs/pug-runtime#35 (archived)
The rethrow seems to be trying to set a property for which there is no setter. This is a bit frustrating because the trace of the new
TypeError
does not contain the original error, which makes debugging a lot harder.The text was updated successfully, but these errors were encountered: