Skip to content

Commit

Permalink
Ensuring debug log only shows when ACRA configured for debug.
Browse files Browse the repository at this point in the history
  • Loading branch information
william-ferguson-au committed Sep 8, 2016
1 parent 32a75ea commit c92adf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/acra/util/IOUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public static String streamToStringNonBlockingRead(@NonNull InputStream input, P
}
}
} catch (InterruptedException e) {
ACRA.log.d(LOG_TAG, "Interrupted while reading stream", e);
if (ACRA.DEV_LOGGING) ACRA.log.d(LOG_TAG, "Interrupted while reading stream", e);
}
return TextUtils.join("\n", buffer);
} finally {
Expand Down

0 comments on commit c92adf3

Please sign in to comment.