This is an effort to remove panic from the source. Add a new call called CriticialIf, that calls LogIf and exits. Replace panics with one of CriticalIf, FatalIf and a return of error. |
||
---|---|---|
.. | ||
azure | ||
b2 | ||
gcs | ||
manta | ||
nas | ||
oss | ||
s3 | ||
sia | ||
gateway.go |
This is an effort to remove panic from the source. Add a new call called CriticialIf, that calls LogIf and exits. Replace panics with one of CriticalIf, FatalIf and a return of error. |
||
---|---|---|
.. | ||
azure | ||
b2 | ||
gcs | ||
manta | ||
nas | ||
oss | ||
s3 | ||
sia | ||
gateway.go |