Skip to content

Commit 5b27938

Browse files
author
Vladimir Kotal
committed
add check
1 parent c6f6c3d commit 5b27938

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docker/start.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,8 @@ def create_bare_config(logger, extra_indexer_options=None):
319319
'--noIndex']
320320

321321
if extra_indexer_options:
322+
if type(extra_indexer_options) is not list:
323+
raise Exception("extra_indexer_options has to be a list")
322324
indexer_options.extend(extra_indexer_options)
323325
indexer = Indexer(indexer_options,
324326
jar=OPENGROK_JAR,

0 commit comments

Comments
 (0)