Skip to content
Snippets Groups Projects
Commit 198caa40 authored by Cam Saul's avatar Cam Saul
Browse files

don't barf on fields of wacky types like uuid[]

parent de2261b5
No related branches found
No related tags found
No related merge requests found
......@@ -107,8 +107,9 @@
:table_id table-id
:name field-name
:base_type (or (*column->base-type* (keyword type-name))
(throw (Exception. (str "Column '" field-name "' has an unknown type: '" type-name
"'. Please add the type mapping to corresponding driver (e.g. metabase.driver.postgres.sync).")))))))
(do (log/warn (str "Column '" field-name "' has an unknown type: '" type-name
"'. Please add the type mapping to corresponding driver (e.g. metabase.driver.postgres.sync)."))
:UnknownField)))))
fields)))
(catch Throwable e
(log/error "Caught exception in sync-fields-create:" e))))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment