File tree Expand file tree Collapse file tree 2 files changed +7
-10
lines changed
Expand file tree Collapse file tree 2 files changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -32,18 +32,24 @@ async fn main() -> Result<(), Box<dyn Error>> {
3232 let settings = Settings :: with_env_and_config_file ( args. flag_config . as_deref ( ) ) ?;
3333 init_logging ( !settings. human_logs ) . expect ( "Logging failed to initialize" ) ;
3434 debug ! ( "Starting up..." ) ;
35+
3536 // Set SENTRY_DSN environment variable to enable Sentry.
3637 // Avoid its default reqwest transport for now due to issues w/
3738 // likely grpcio's boringssl
3839 let curl_transport_factory = |options : & sentry:: ClientOptions | {
3940 Arc :: new ( sentry:: transports:: CurlHttpTransport :: new ( options) ) as Arc < dyn sentry:: Transport >
4041 } ;
41- let _sentry = sentry:: init ( sentry:: ClientOptions {
42+ // debug-images conflicts w/ our debug = 1 rustc build option:
43+ // https://github.com/getsentry/sentry-rust/issues/574
44+ let mut opts = sentry:: apply_defaults ( sentry:: ClientOptions {
4245 // Note: set "debug: true," to diagnose sentry issues
4346 transport : Some ( Arc :: new ( curl_transport_factory) ) ,
4447 release : sentry:: release_name!( ) ,
4548 ..sentry:: ClientOptions :: default ( )
4649 } ) ;
50+ opts. integrations . retain ( |i| i. name ( ) != "debug-images" ) ;
51+ opts. default_integrations = false ;
52+ let _sentry = sentry:: init ( opts) ;
4753
4854 // Setup and run the server
4955 let banner = settings. banner ( ) ;
Original file line number Diff line number Diff line change @@ -56,12 +56,3 @@ Totals:
5656
5757- quota: True
5858 6 + 19968 + 1 + 6 = 19981
59-
60-
61- **NOTE** iOS hardcodes syncstorage values. ANY ALTERATION OF THE FOLLOWING VALUES
62- MUST REQUIRE FILING AN ISSUE WITH THE iOS TEAM!
63- <https://github.com/mozilla-mobile/firefox-ios/issues>
64- * MAX_REQUEST_BYTES
65- * MAX_POST_REQCORDS
66- * MAX_TOTAL_RECORDS
67- * MAX_TOTAL_BYTES
You can’t perform that action at this time.
0 commit comments