                     }
                 }
             } catch (e: Error) {
-                log('error', e.getStackTrace());
+                log('error', e.message);
             }
         }
 

            }
        }

        private function log(level: String, message: String):void {
            if (loaderInfo.parameters.debug != undefined && loaderInfo.parameters.debug == "true") {
                this.callExternalInterface(_jsLogProxyName, level, message);
            }
        }


                ExternalInterface.addCallback("nc_setClient", onSetClientCalled);

            } catch (e:Error) {
                log("error", e.message);
            } finally {}
        }

