Update cw_mweb.dart

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
This commit is contained in:
Matthew Fosse 2024-10-31 20:13:01 -07:00 committed by GitHub
parent 35d7909a0e
commit 57a88cc522
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -215,7 +215,7 @@ class CwMweb {
return await _rpcClient!.broadcast(request, options: CallOptions(timeout: TIMEOUT_DURATION));
} on GrpcError catch (e) {
log('Caught grpc error: ${e.message}');
rethrow;
throw "error from broadcast mweb: $e";
} catch (e) {
log("Error getting create: $e");
rethrow;