A simple fix that removes function_clause from the log message if the user has provided an unsupported write syntax:
weather,location=us-midwest,season=summer temperature=82 ${timestamp}u
The error log before this fix:
pid: <0.558392.0>, info: {"stacktrace":["{emqx_bridge_influxdb_connector,parse_timestamp,[[1719350482910000000,<<\"u\">>]],[{file,\"emqx_bridge_influxdb_connector.erl\"},{line,692}]}", ...], ..., "error":"{error,function_clause}"}, tag: ERROR, msg: resource_exception