Skip to content

Commit

Permalink
catch an exception with FTs
Browse files Browse the repository at this point in the history
  • Loading branch information
zoff99 committed Mar 28, 2024
1 parent 5a2a425 commit ab1eea3
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/main/kotlin/com/zoffcc/applications/trifa/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -2414,8 +2414,8 @@ class MainActivity
{
global_last_activity_outgoung_ft_ts = System.currentTimeMillis()

// try
// {
try
{
val ft = orma!!.selectFromFiletransfer().
directionEq(TRIFAGlobals.TRIFA_FT_DIRECTION.TRIFA_FT_DIRECTION_OUTGOING.value).
stateNotEq(ToxVars.TOX_FILE_CONTROL.TOX_FILE_CONTROL_CANCEL.value).
Expand Down Expand Up @@ -2654,11 +2654,11 @@ class MainActivity
// Log.i(TAG, "file_chunk_request:ft:099:" + (System.currentTimeMillis() - ts01));
}
}
//} catch (e: java.lang.Exception)
//{
// e.printStackTrace()
// Log.i(TAG, "file_chunk_request:EE1:" + e.message)
//}
} catch (e: java.lang.Exception)
{
e.printStackTrace()
Log.i(TAG, "file_chunk_request:EE1:" + e.message)
}
}

@JvmStatic
Expand Down

0 comments on commit ab1eea3

Please sign in to comment.