datomic

Sven 2025-09-03T17:23:08.464189Z

If Ions lambda entry point returns a map instead of String, InputStream, ByteBuffer, or File (as expected) then the following event is logged.

{
    "Msg": "IonLambdaException",
    "Ex": {
        "Via": [
            {
                "Type": "java.lang.IllegalArgumentException",
                "Message": "No implementation of method: :->bbuf of protocol: #'datomic.ion.lambda.dispatcher/ToBbuf found for class: clojure.lang.PersistentArrayMap",
                "At": [
                    "clojure.core$_cache_protocol_fn",
                    "invokeStatic",
                    "core_deftype.clj",
                    584
                ]
            }
        ],
        "Trace": [
            [
                "clojure.core$_cache_protocol_fn",
                "invokeStatic",
                "core_deftype.clj",
                584
            ],
            ...
        ],
        "Cause": "No implementation of method: :->bbuf of protocol: #'datomic.ion.lambda.dispatcher/ToBbuf found for class: clojure.lang.PersistentArrayMap"
    },
    "Type": "Event",
    "Tid": 6576,
    "Timestamp": 1756915987235
}
Is it intentional that this is cast as Event not Alert?