aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar abdullah oday <[email protected]>2019-02-16 19:19:29 +0300
committerGravatar abdullah oday <[email protected]>2019-02-16 19:19:29 +0300
commit9fcc4b40c6234e2df67c091e1e92bb8fe4e99269 (patch)
tree6110a16a51cecef1f4caaaf1f3b1443812396308
parentMade warning message more explicit (diff)
Fixed log.warning
-rw-r--r--bot/seasons/valentines/movie_generator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/seasons/valentines/movie_generator.py b/bot/seasons/valentines/movie_generator.py
index 50d779b9..0816796a 100644
--- a/bot/seasons/valentines/movie_generator.py
+++ b/bot/seasons/valentines/movie_generator.py
@@ -57,7 +57,7 @@ class RomanceMovieFinder:
warning_message = 'Got KeyError in the data dictionary, API service might not be available' \
'or wrong API key'
embed = discord.Embed(title=warning_message)
- log.warning('Got KeyError in the data dictionary')
+ log.warning(warning_message)
await ctx.send(embed=embed)