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 <veetaha2@gmail.com> * 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 <me@davidbarsky.com> Co-authored-by: Lucio Franco <luciofranco14@gmail.com> Co-authored-by: Ubuntu <ubuntu@ip-172-31-47-28.ap-southeast-2.compute.internal> Co-authored-by: rimutaka <max@onebro.me> Co-authored-by: Veetaha <veetaha2@gmail.com>
1 parent 5ae037e commit e0803e1

File tree

17 files changed

+876
-1081
lines changed

17 files changed

+876
-1081
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
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)