1

config.json根据Trigger.io 文档,我添加了以下内容:

"modules": {
    "logging": {
        "level": ["DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL"]
    }
}

当我运行时,forge build我收到以下错误:

[  ERROR] Forge API call to app/fe491ecee6fb11e19ada12313d1adcbe/template went wrong: Value [u'DEBUG', u'INFO', u'WARNING', u'ERROR', u'CRITICAL'] for field 'level' is not of type string

文档是错误的还是我误读了它?

4

1 回答 1

1

您必须选择文档中给出的数组选项之一,例如:

"modules": {
    "logging": {
        "level": "DEBUG"
    }
}
于 2012-08-17T19:23:18.053 回答