Skip to content

Commit

Permalink
Merge pull request #2061 from bitfriend/issue198_cleanup-periodically
Browse files Browse the repository at this point in the history
Add severe log for error cases of all try-catch statements
  • Loading branch information
bitfriend authored Aug 14, 2024
2 parents 0f91ed6 + 77e78d8 commit 5ea1758
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/acter_notifify/lib/platform/android.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import 'dart:async';

import 'package:acter_flutter_sdk/acter_flutter_sdk_ffi.dart';
import 'package:acter_notifify/matrix.dart';
import 'package:acter_notifify/local.dart';
import 'package:acter_notifify/matrix.dart';
import 'package:acter_notifify/util.dart';
import 'package:flutter_local_notifications/flutter_local_notifications.dart';
import 'package:logging/logging.dart';
Expand Down
4 changes: 2 additions & 2 deletions packages/rust_sdk/lib/acter_flutter_sdk.dart
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ Future<ImageProvider<Object>?> remapToImage(
return ResizeImage(image, width: cacheWidth, height: cacheHeight);
}
return image;
} catch (e) {
_log.severe('Error fetching avatar: $e');
} catch (e, st) {
_log.severe('Error fetching avatar', e, st);
return null;
}
}
Expand Down

0 comments on commit 5ea1758

Please sign in to comment.