Skip to content

Commit abf388f

Browse files
Fixes to core interface
1 parent 116317e commit abf388f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/dbt_core_interface/project.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -6450,11 +6450,11 @@ def run_server(runner: Optional[DbtProject] = None, host="localhost", port=8581)
64506450

64516451
try:
64526452
new_runner = DbtProject(**kwargs)
6453-
runners[project] = new_runner
6454-
runners.add_parsed_project
6453+
ServerPlugin.runners[project] = new_runner
6454+
ServerPlugin.runners.add_parsed_project
64556455

64566456
except Exception as init_error:
6457-
LOGGER.error("Failed to load savestate:", init_error)
6457+
LOGGER.error("Failed to load savestate: %s", init_error)
64586458
LOGGER.error("We'll continue on without trying to restore.")
64596459

64606460
run_server(host=args.host, port=args.port)

0 commit comments

Comments
 (0)