Skip to content

Commit c045ed4

Browse files
committed
Fix README, LineBotApiError class path
1 parent 0cc646b commit c045ed4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ https://devdocs.line.me/en/#error-response
178178
179179
try:
180180
line_bot_api.push_message('to', TextSendMessage(text='Hello World!'))
181-
except linebot.LineBotApiError as e:
181+
except linebot.exceptions.LineBotApiError as e:
182182
print(e.status_code)
183183
print(e.error.message)
184184
print(e.error.details)

0 commit comments

Comments
 (0)