Skip to content

Commit caaec21

Browse files
Fixed MessageListenerExample
No longer throwing RateLimitedException on build
1 parent 907f766 commit caaec21

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/examples/java/MessageListenerExample.java

-7
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,6 @@ public static void main(String[] args)
5858
// you use buildBlocking in a thread that has the possibility of being interrupted (async thread usage and interrupts)
5959
e.printStackTrace();
6060
}
61-
catch (RateLimitedException e)
62-
{
63-
//The login process is one which can be ratelimited. If you attempt to login in multiple times, in rapid succession
64-
// (multiple times a second), you would hit the ratelimit, and would see this exception.
65-
//As a note: It is highly unlikely that you will ever see the exception here due to how infrequent login is.
66-
e.printStackTrace();
67-
}
6861
}
6962

7063
/**

0 commit comments

Comments
 (0)