reactor / bot

The source code for @reactorbot
Apache License 2.0
9 stars 2 forks source link

Fix forward-merge watchdog feature: label response #5

Closed simonbasle closed 6 years ago

simonbasle commented 6 years ago

Label response breaks the bot with the following error:

{"timestamp":"2018-07-09T18:04:25.117+0000","path":"/gh/pr","status":500,"error":"Internal Server Error","message":"JSON decoding error: Instantiation of [simple type, class io.projectreactor.bot.github.data.ResponseLabel] value failed for JSON property description due to missing (therefore NULL) value for creator parameter description which is a non-nullable type; 
nested exception is com.fasterxml.jackson.module.kotlin.MissingKotlinParameterException: Instantiation of [simple type, class io.projectreactor.bot.github.data.ResponseLabel] value failed for JSON property description due to missing (therefore NULL) value for creator parameter description which is a non-nullable type\n at [Source: UNKNOWN; line: -1, column: -1] (through reference chain: io.projectreactor.bot.github.data.ResponseLabel[\"description\"])"}
simonbasle commented 6 years ago

Fixed by 7c9b8d9126374ce154d96ec9c996575b2cb14013