Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error messages are wrapped in ' #139

Open
MrCreosote opened this issue Nov 22, 2024 · 0 comments
Open

Error messages are wrapped in ' #139

MrCreosote opened this issue Nov 22, 2024 · 0 comments

Comments

@MrCreosote
Copy link
Member

There's extraneous quotes around error messages from the catalog:

In [9]: try:  
   ...:     bc.call_method("Catalog.get_module_version", [{ 
   ...:         "module_name": "njs_sdk_test_1foo.run", 
   ...:         "version": "beta", 
   ...:     }]) 
   ...: except Exception as e: 
   ...:     err = e 
   ...:      
   ...:                                                                         

In [10]: err                                                                    
Out[10]: biokbase.workspace.baseclient.ServerError("'Module cannot be found based on module_name or git_url parameters.'")

This is causing kb_sdk tests to fail, as the error messages used to not have these unnecessary quotes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant