-
Notifications
You must be signed in to change notification settings - Fork 481
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Downgrade logging from severe to info for attributed errors that do n…
…ot require developer action or investigation (#966)
- Loading branch information
1 parent
0f4485f
commit 995efca
Showing
10 changed files
with
79 additions
and
101 deletions.
There are no files selected for viewing
32 changes: 0 additions & 32 deletions
32
...datatransferproject/transfer/facebook/exceptions/FacebookSessionInvalidatedException.java
This file was deleted.
Oops, something went wrong.
33 changes: 0 additions & 33 deletions
33
...rg/datatransferproject/transfer/facebook/exceptions/FacebookUnconfirmedUserException.java
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
...g/datatransferproject/transfer/facebook/exceptions/FacebookUserCheckpointedException.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 5 additions & 2 deletions
7
...spi-transfer/src/main/java/org/datatransferproject/spi/transfer/types/FailureReasons.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
...src/main/java/org/datatransferproject/spi/transfer/types/SessionInvalidatedException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package org.datatransferproject.spi.transfer.types; | ||
|
||
import javax.annotation.Nonnull; | ||
|
||
public class SessionInvalidatedException extends CopyExceptionWithFailureReason { | ||
|
||
public SessionInvalidatedException(String message, Throwable cause) { | ||
super(message, cause); | ||
} | ||
|
||
@Nonnull | ||
@Override | ||
public String getFailureReason() { | ||
return FailureReasons.SESSION_INVALIDATED.toString(); | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
...er/src/main/java/org/datatransferproject/spi/transfer/types/UnconfirmedUserException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package org.datatransferproject.spi.transfer.types; | ||
|
||
import javax.annotation.Nonnull; | ||
|
||
public class UnconfirmedUserException extends CopyExceptionWithFailureReason { | ||
|
||
public UnconfirmedUserException(String message, Throwable cause) { | ||
super(message, cause); | ||
} | ||
|
||
@Nonnull | ||
@Override | ||
public String getFailureReason() { | ||
return FailureReasons.UNCONFIRMED_USER.toString(); | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
...r/src/main/java/org/datatransferproject/spi/transfer/types/UserCheckpointedException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package org.datatransferproject.spi.transfer.types; | ||
|
||
import javax.annotation.Nonnull; | ||
|
||
public class UserCheckpointedException extends CopyExceptionWithFailureReason { | ||
|
||
public UserCheckpointedException(String message, Throwable cause) { | ||
super(message, cause); | ||
} | ||
|
||
@Nonnull | ||
@Override | ||
public String getFailureReason() { | ||
return FailureReasons.USER_CHECKPOINTED.toString(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters