mirror of
https://github.com/stoatchat/stoatchat.git
synced 2026-07-14 13:36:59 +00:00
Don't unwrap on subscription errors.
This commit is contained in:
@@ -179,8 +179,7 @@ impl Message {
|
||||
builder.set_vapid_signature(signature);
|
||||
builder.set_payload(ContentEncoding::AesGcm, enc.as_bytes());
|
||||
let m = builder.build().unwrap();
|
||||
let response = client.send(m).await.unwrap();
|
||||
dbg!(response);
|
||||
let response = client.send(m).await.ok();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user