mozilla-services / megaphone

Firefox Global Broadcast API
Mozilla Public License 2.0
38 stars 12 forks source link

fix: propagate db pool errors into HandlerErrors #60

Closed pjenvey closed 5 years ago

pjenvey commented 5 years ago

and properly render their error responses (special casing heartbeat's handling)

also add cargo fmt -- --check

Closes #59

bbangert commented 5 years ago

Looks like a rust toolchain error in travis:

error: toolchain 'nightly-2018-06-20-x86_64-unknown-linux-gnu' does not have the binary `cargo-fmt`

Tests all pass.

pjenvey commented 5 years ago

oops, I've killing the fmt check run then -- deferred till the next rust upgrade