Skip to content

Commit

Permalink
Catch Mapbox error on 64bit devices (getodk#3158)
Browse files Browse the repository at this point in the history
  • Loading branch information
grzesiek2010 authored and yanokwa committed Jun 14, 2019
1 parent b9866ba commit 76d03ad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public static Mapbox initMapbox() {
// an access token. Configure this token in collect_app/secrets.properties.
try {
mapbox = Mapbox.getInstance(Collect.getInstance(), BuildConfig.MAPBOX_ACCESS_TOKEN);
} catch (Exception e) {
} catch (Exception | Error e) {
// Initialization failed (usually because the Mapbox native library for
// the current architecture could not be found or loaded).
mapbox = null;
Expand Down

0 comments on commit 76d03ad

Please sign in to comment.