fix: record metrics properly #811
Annotations
2 warnings
called `unwrap_err` on `event` after checking its variant with `is_err`:
src/entities/friendship_history.rs#L122
warning: called `unwrap_err` on `event` after checking its variant with `is_err`
--> src/entities/friendship_history.rs:122:31
|
121 | if event.is_err() {
| ----------------- help: try: `if let Err(..) = event`
122 | let err = event.unwrap_err();
| ^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap
= note: `#[warn(clippy::unnecessary_unwrap)]` on by default
|
validations
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|