I am importing DBs using a function like this.
(defn import-repro
[system db-names]
(doall
(pmap
(fn [db-name]
(dev-local/import-cloud
{:source (assoc source-clientm :db-name db-name)
:dest {:system system
:server-type :dev-local
:db-name db-name}}))
db-names)))
When I call it, I will get an exception.
(import-repro "prod" (distinct db-names))
Exception link:
https://pastebin.com/qpYE0hHN
That's when importing to a system that already exists. When I try calling the same function with a system name that does not exist, I get a different exception.
(import-repro "prod" (distinct db-names))
Exception link:
https://pastebin.com/8zdEjhfB
After I got that exception, I stopped my REPL and started a new one. I called the function again with the same args and received a different exception.
(import-repro"prod2" (distinct db-names))
Exception link:
https://pastebin.com/KZqzk2ph