@@ -18,7 +18,6 @@ use flate2::Compression;
18
18
use futures:: { future, prelude:: * , sync:: oneshot} ;
19
19
use lazy_static:: lazy_static;
20
20
use serde_json:: Value as SerdeValue ;
21
- use symbolic:: unreal:: { Unreal4Error , Unreal4ErrorKind } ;
22
21
23
22
use relay_auth:: RelayVersion ;
24
23
use relay_common:: { clone, ProjectId , ProjectKey , UnixTimestamp , Uuid } ;
65
64
relay_filter:: FilterStatKey ,
66
65
relay_general:: store:: { GeoIpLookup , StoreConfig , StoreProcessor } ,
67
66
relay_quotas:: { RateLimitingError , RedisRateLimiter } ,
67
+ symbolic:: unreal:: { Unreal4Error , Unreal4ErrorKind } ,
68
68
} ;
69
69
70
70
/// The minimum clock drift for correction to apply.
@@ -86,7 +86,7 @@ enum ProcessingError {
86
86
87
87
#[ cfg( feature = "processing" ) ]
88
88
#[ fail( display = "invalid unreal crash report" ) ]
89
- InvalidUnrealReport ( #[ cause] symbolic :: unreal :: Unreal4Error ) ,
89
+ InvalidUnrealReport ( #[ cause] Unreal4Error ) ,
90
90
91
91
#[ fail( display = "event payload too large" ) ]
92
92
PayloadTooLarge ,
@@ -203,6 +203,7 @@ impl ProcessingError {
203
203
}
204
204
}
205
205
206
+ #[ cfg( feature = "processing" ) ]
206
207
impl From < Unreal4Error > for ProcessingError {
207
208
fn from ( err : Unreal4Error ) -> Self {
208
209
match err. kind ( ) {
0 commit comments