Verified Commit 36ee913a authored by Lukas Wiest's avatar Lukas Wiest 🚂
Browse files

refactor(systems/gitlab): TicketBuilder: add missing check for null-on-error config

parent bc48aca1
......@@ -37,7 +37,8 @@ public class GitlabTicketBuilder extends TicketBuilder<GitlabTicketBuilder, Gitl
} catch (NumberFormatException e)
{
logger.log(Level.SEVERE, String.format("not as integer parsable assignee id encountered!"));
throw new AssertionException(e);
if (parent.getConfigTrue(TicketSystem.ConfigurationOptions.RETURN_NULL_ON_ERROR)) return this;
else throw new AssertionException(e);
}
return super.assignees(identifiers);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment