aboutsummaryrefslogtreecommitdiff
path: root/app/src/google/java/github/daneren2005/dsub/util/compat/GoogleCompat.java
diff options
context:
space:
mode:
authorCarey Metcalfe <carey@cmetcalfe.ca>2017-10-13 19:54:41 -0400
committerCarey Metcalfe <carey@cmetcalfe.ca>2017-10-13 23:02:15 -0400
commitd0223c6eab8f58799c8c3ff0e67f5974c237e01c (patch)
tree89c72eec95d66b94ad5ba5e061a6ca7a8b6e4ff1 /app/src/google/java/github/daneren2005/dsub/util/compat/GoogleCompat.java
parent9f89e7e1524cd4a6e6646e8768aa76c26ee92e79 (diff)
downloaddsub-d0223c6eab8f58799c8c3ff0e67f5974c237e01c.tar.gz
dsub-d0223c6eab8f58799c8c3ff0e67f5974c237e01c.tar.bz2
dsub-d0223c6eab8f58799c8c3ff0e67f5974c237e01c.zip
Fix crash on startup when building without environment variables
- Adds a check for the `CAST_APPLICATION_ID` variable in `CastCompat`. If it's null, casting will be disabled. - Without a `PASTEBIN_DEV_KEY` sending logs would result in a generic "Failed to gather logs" message. This commit changes the message to something more accurate.
Diffstat (limited to 'app/src/google/java/github/daneren2005/dsub/util/compat/GoogleCompat.java')
0 files changed, 0 insertions, 0 deletions