Comments (4)
btw, this was very difficult to debug, because the error reporting from the npm is scant. perhaps have an option to report verbose errors, where the details of the (failed) request are emitted?
from openwhisk-client-js.
That would help. In particular don't swallow the error response from the controller if that is happening - the container code would help debug user problems.
from openwhisk-client-js.
I've pushed a fix to remove the regression and published a new version. I've added a unit test to ensure this doesn't happen again.
The precedence order for calculating namespaces is: options.namespace, global_options.namespace, env param, ‘_'.
I agree that we should have a debug property to dump the raw requests & responses. I did open a ticket a while ago to add this.
#15
from openwhisk-client-js.
I found some more edge cases thanks to @starpit and pushed out the fixes.
from openwhisk-client-js.
Related Issues (20)
- main.d.ts (typescript declarations) are a missing some optional arguments HOT 1
- Remove `version` option from actions
- Integration tests are broken with feed testing failing.
- Update package dependencies to latest versions.
- Add CI/CD tools for NPM module dependency management. HOT 3
- CI/CD pipeline should test on all Node.js versions in runtime-nodejs
- Remove use of whisk.system packages in integration tests HOT 1
- result only action invokes are not setting proper query parameter
- blocking invoke that is demoted is not handled correctly HOT 1
- Error occurs in typescript project HOT 6
- Allow clients to override the namespace for the api gateway APIs
- Propagate __OW_TRANSACTION_ID when invoking actions
- Unable to create trigger with feed
- Unable to create web and web-secure action HOT 2
- OpenWhiskError message missing activation id HOT 1
- typings do not allow for nodejs:10 action kind HOT 1
- Typescript types incorrect: Missing 'main' property from Action.Exec
- service requests modify query string with every retry
- Missing parameter 'id' in actions.list()
- Please publish a new minor version 3.22.0 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openwhisk-client-js.