Skip to content

Commit b1f93c6

Browse files
committed
fix: Imports
1 parent 76c1b09 commit b1f93c6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

relay-server/src/actors/envelopes.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ use flate2::Compression;
1818
use futures::{future, prelude::*, sync::oneshot};
1919
use lazy_static::lazy_static;
2020
use serde_json::Value as SerdeValue;
21-
use symbolic::unreal::{Unreal4Error, Unreal4ErrorKind};
2221

2322
use relay_auth::RelayVersion;
2423
use relay_common::{clone, ProjectId, ProjectKey, UnixTimestamp, Uuid};
@@ -65,6 +64,7 @@ use {
6564
relay_filter::FilterStatKey,
6665
relay_general::store::{GeoIpLookup, StoreConfig, StoreProcessor},
6766
relay_quotas::{RateLimitingError, RedisRateLimiter},
67+
symbolic::unreal::{Unreal4Error, Unreal4ErrorKind},
6868
};
6969

7070
/// The minimum clock drift for correction to apply.
@@ -86,7 +86,7 @@ enum ProcessingError {
8686

8787
#[cfg(feature = "processing")]
8888
#[fail(display = "invalid unreal crash report")]
89-
InvalidUnrealReport(#[cause] symbolic::unreal::Unreal4Error),
89+
InvalidUnrealReport(#[cause] Unreal4Error),
9090

9191
#[fail(display = "event payload too large")]
9292
PayloadTooLarge,
@@ -203,6 +203,7 @@ impl ProcessingError {
203203
}
204204
}
205205

206+
#[cfg(feature = "processing")]
206207
impl From<Unreal4Error> for ProcessingError {
207208
fn from(err: Unreal4Error) -> Self {
208209
match err.kind() {

0 commit comments

Comments
 (0)