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
Is your feature request related to a problem? Please describe.
Right now, when I use getLibraryData() for a non-existant library and I catch it, I get the error-object TypeError: Cannot read property 'preloadedDependencies' of undefined, which is not very helpful.
Describe the solution you'd like
I would like receive an error-object that tells me what went wrong. Like: Library xyz was not found.
The text was updated successfully, but these errors were encountered:
JPSchellenberg
added
[type] feature
Changes that introduce a new feature (resulting in minor-version-bump)
[type] bug
Something isn't working (resulting in patch-version)
and removed
[type] feature
Changes that introduce a new feature (resulting in minor-version-bump)
labels
Nov 4, 2019
* fix(h5p-editor): Improved error message when requesting uninstalled library data (#233)
* fix(Content Type Cache): The cache is now automatically downloaded if it hasn't been called before
* fix(h5p-editor): Improved error message when saving content with invalid library name
* fix(h5p-editor): Improved error messages
Is your feature request related to a problem? Please describe.
Right now, when I use
getLibraryData()
for a non-existant library and I catch it, I get the error-objectTypeError: Cannot read property 'preloadedDependencies' of undefined
, which is not very helpful.Describe the solution you'd like
I would like receive an error-object that tells me what went wrong. Like:
Library xyz was not found.
The text was updated successfully, but these errors were encountered: