Skip to content

Commit

Permalink
Send gallery result to crashlytics
Browse files Browse the repository at this point in the history
  • Loading branch information
ruskakimov committed Jun 15, 2021
1 parent 017f115 commit ffc9bb9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/editing/data/exporter_model.dart
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ class ExporterModel extends ChangeNotifier {
_outputFilePath = galleryFilePath ?? videoFile.path;

if (galleryFilePath == null) {
throw Exception('Failed when tried uploading video to the gallery.');
throw Exception(
'Failed when tried uploading video to the gallery. $galleryResult');
}
} catch (e, stack) {
FirebaseCrashlytics.instance.recordError(e, stack);
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.11.0
version: 1.11.1

environment:
sdk: '>=2.12.0 <3.0.0'
Expand Down

0 comments on commit ffc9bb9

Please sign in to comment.