You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2019/03/09 15:22:59 UTC

[GitHub] [incubator-openwhisk-runtime-rust] rdiaz82 opened a new pull request #2: Modification in Main Action method signature and improved the error log

rdiaz82 opened a new pull request #2: Modification in Main Action method signature and improved the error log
URL: https://github.com/apache/incubator-openwhisk-runtime-rust/pull/2
 
 
   This PR includes the following changes:
   * Changed the main function method signature from `main(Hashmap<String,Value>) -> HashMap<String,Value>` to `main(Value) -> Result<Value,Error>`. This change will allow the user to  map the input `Value` into a Rust object using the power of Serde library.
   * Modified the example function to support this new method signature.
   * Refactor in errors log, now all errors are printed into stderr and in fd3 they are dispatcher as `{"error":"error message"}`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services