Skip to content

Commit e0803e1

Browse files
bahildebranddavidbarskyLucioFrancoUbunturimutaka
authored
Error logging and examples (#284)
* reorg * Replace `genawaiter` with `async-stream` (#240) * don't depend on serde_derive directly * Add Cargo.lock to gitignore; whoops. * Cleanup docs; handle panics in lambda functions correctly. * Create a reusable runtime struct + builder * Log handler errors in runtime. Issue #241 * Added basic.rs example, comments to other examples * Tidied up examples readme. * Fixed headers in examples readme. * Formatting fix in error-handling.rs. * Fixed comment in lib.rs * Corrected handler_fn interface misconception in basic.rs Co-authored-by: Veetaha <[email protected]> * Upper-cased and edited examples/readme.md * Add log and tracing examples; fix `tracing` dependency features. * disable time on `tracing_subscriber` * Removed unused refs from basic.rs * Added error handling for #241, interim, broken. * Added err logging to lib.rs, consolidated examples * Log panic as Debug+Display, improved examples * client.rs formatting fix * Fixed "Process exited" error in lib.rs. * Added some tracing!() to lib.rs. * Enforced Send+Sync for http Handler impl. * Added docs and missing _vars to reduce warnings * Removed unnecessary + Sync on handler's future * All tests passing * Remove deprecated simple_logger calls * Remove Cargo.lock * cargo fmt changes Co-authored-by: David Barsky <[email protected]> Co-authored-by: Lucio Franco <[email protected]> Co-authored-by: Ubuntu <[email protected]> Co-authored-by: rimutaka <[email protected]> Co-authored-by: Veetaha <[email protected]>
1 parent 5ae037e commit e0803e1

17 files changed

+876
-1081
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/target
22
/.cargo
33
lambda-runtime/libtest.rmeta
4+
Cargo.lock
45

56
# Built AWS Lambda zipfile
67
lambda.zip

0 commit comments

Comments
 (0)