git » sdk » commit ce7cbef

Trace when we found not http upload service

author Stephen Paul Weber
2025-05-12 13:35:01 UTC
committer Stephen Paul Weber
2025-05-12 13:36:17 UTC
parent 4a0c787357f940d42044c6af8230e04827a11b91

Trace when we found not http upload service

snikket/Client.hx +1 -0

diff --git a/snikket/Client.hx b/snikket/Client.hx
index 2200400..2ec2638 100644
--- a/snikket/Client.hx
+++ b/snikket/Client.hx
@@ -764,6 +764,7 @@ class Client extends EventEmitter {
 
 	private function prepareAttachmentFor(source: AttachmentSource, services: Array<{ serviceId: String }>, hashes: Array<Hash>, callback: (Null<ChatAttachment>)->Void) {
 		if (services.length < 1) {
+			trace("No HTTP upload service found");
 			callback(null);
 			return;
 		}