Skip to content

Commit 0e771f0

Browse files
authored
fix: make error message more helpful (#203)
1 parent c2910e2 commit 0e771f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

admin_migrations/migrators/username2id_mapping.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def _get_recipe_dummy_meta(recipe_content):
5555
skip += 1
5656
if skip > 0:
5757
keep_lines.append(_filter_jinja2(line))
58-
assert skip == 1, "team update failed due to > 1 'extra:' sections"
58+
assert skip == 1, f"team update failed due to finding {skip} 'extra:' sections"
5959
return DummyMeta("\n".join(keep_lines))
6060

6161

0 commit comments

Comments
 (0)