mirror of
https://github.com/actix/actix-extras.git
synced 2025-06-26 02:19:22 +02:00
use Error instead of InternalError for helper methods error::ErrorXXX
This commit is contained in:
@ -205,7 +205,7 @@ impl<A, S> ActorHttpContext for WebsocketContext<A, S> where A: Actor<Context=Se
|
||||
};
|
||||
|
||||
if self.inner.alive() && self.inner.poll(ctx).is_err() {
|
||||
return Err(ErrorInternalServerError("error").into())
|
||||
return Err(ErrorInternalServerError("error"))
|
||||
}
|
||||
|
||||
// frames
|
||||
|
Reference in New Issue
Block a user